package testy;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JTextField;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class NewJDialog extends javax.swing.JDialog {
	private static final Logger log = LoggerFactory.getLogger(NewJDialog.class);
	private JTextField samplesCount;
	private JButton jButton1;
	private JButton jButton2;

	/**
	* Auto-generated main method to display this JDialog
	*/
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		NewJDialog inst = new NewJDialog(frame);
		inst.setVisible(true);
	}
	
	public NewJDialog(JFrame frame) {
		super(frame);
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				this.setTitle("Samples");
				getContentPane().setLayout(null);
				{
					samplesCount = new JTextField();
					getContentPane().add(samplesCount);
					samplesCount.setText("123456789");
					samplesCount.setBounds(7, 14, 70, 21);
				}
				{
					jButton1 = new JButton();
					getContentPane().add(jButton1);
					jButton1.setText("Ok");
					jButton1.setBounds(77, 14, 63, 21);
				}
				{
					jButton2 = new JButton();
					getContentPane().add(jButton2);
					jButton2.setText("Cancel");
					jButton2.setBounds(35, 42, 77, 21);
				}
			}
			this.setSize(155, 99);
		} catch (Exception e) {
			log.error("", e);
		}
	}

}
